package com.yet.listener;

import org.springframework.context.ApplicationEvent;

import com.yet.dto.Request;
import com.yet.dto.Response;

public class ServerResponseEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;
	private Request req;
	private Response resp;

	public ServerResponseEvent(Object source) {
		super(source);
	}

	public ServerResponseEvent(Object source, Request req, Response resp) {
		super(source);
		this.req = req;
		this.resp = resp;
	}

	public Request getReq() {
		return req;
	}

	public Response getResp() {
		return resp;
	}
}
